<template>
  <el-input v-bind="$attrs"
  @input="handleInput"
  onpaste = "return false"
  @change="handleChange"
  @blur="handleBlur"
  @focus="handleFocus"
  ></el-input>
</template>
<script>
export default {
  name: 'PwdInput',
  methods: {
    handleInput (value) {
      this.$emit('input', value)
    },
    handleChange (value) {
      this.$emit('change', value)
    },
    handleBlur (event) {
      this.$xz('xz_set_imm_state', true)
      this.$emit('blur', event)
    },
    handleFocus (event) {
      this.$xz('xz_set_imm_state', false)
      this.$emit('focus', event)
    }
  }
}
</script>
